package com.wyc.serviceMap.service.impl;

import com.wyc.internalCommon.result.ApiResult;
import com.wyc.serviceMap.remote.ServiceClient;
import com.wyc.serviceMap.service.ServiceFromMapService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServiceFromMapServiceImpl implements ServiceFromMapService {

    @Autowired
    private ServiceClient serviceClient;

    /**
     * 创建轨迹服务
     * @param name
     * @return
     */
    @Override
    public ApiResult add(String name) {
        return serviceClient.add(name);
    }
}
